#pragma once
// -------------------------------------------------
// BlinKit - BlinKit Library
// -------------------------------------------------
//   File Name: microtask.h
// Description: Microtask Class
//      Author: Ziming Li
//     Created: 2022-04-24
// -------------------------------------------------
// Copyright (C) 2022 MingYang Software Technology.
// -------------------------------------------------

#ifndef BLINKIT_MICROTASK_H
#define BLINKIT_MICROTASK_H

#include "blinkit/blink/renderer/wtf/Allocator.h"
#include "third_party/quickjs/quickjs.h"

namespace BlinKit {

class Microtask
{
    STATIC_ONLY(Microtask)
public:
    static void PerformCheckpoint(JSRuntime *rt);
};

} // namespace BlinKit

#endif // BLINKIT_MICROTASK_H
